@import '../../../index.scss';

.container {
  padding-bottom: 100rpx;

  .cover {
    width: 100%;
    height: 500rpx;

    image {
      width: 100%;
      height: 100%;
    }
  }

  .card {
    margin: 30rpx;
    margin-top: -200rpx;
    background-color: #fff;
    z-index: 1;
    position: relative;
    border-radius: 16rpx;
    box-shadow: 0rpx 0rpx 20rpx 10rpx rgba(0, 0, 0, 0.06);
    padding: 40rpx;
    box-sizing: border-box;

    .title {
      font-size: 32rpx;
      font-weight: bold;
      text-align: center;
      padding: 0;
      padding-bottom: 40rpx;
      border-bottom: 1px solid #f8f8f8;
    }

    .list {
      margin-top: 30rpx;

      .type {
        font-size: 28rpx;
        font-weight: bold;
        color: #333;
      }

      .desc {
        font-size: 28rpx;
        color: #787878;
        padding-top: 10rpx;

      }

      .preson {
        display: flex;
        align-items: center;
        font-size: 28rpx;
        color: #787878;
        padding-top: 10rpx;

        .avatar {
          display: flex;

          image {
            width: 60rpx;
            height: 60rpx;
            border-radius: 100%;
            margin-left: -20rpx;
            box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0, 0, 0, 0.04);
            background-color: #fff;

            &:first-child {
              margin-left: 0;
            }
          }

        }

        .view {
          padding-left: 20rpx;
        }
      }
    }
  }

  .detail {
    padding-bottom: 80rpx;

    .title {
      margin-top: 60rpx;
      text-align: center;
      padding-bottom: 20rpx;
    }

    .content {
      padding: 30rpx;
      font-size: 28rpx;
      display: inline-block;
    }
  }
}

.bottom-fixed-div {
  position: fixed;
  bottom: 0;
  left: 0;

  width: 100%;
  background-color: #fff;
  // border-top: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30rpx 40rpx 60rpx 40rpx;
  box-sizing: border-box;
  box-shadow: 0 0 10px 2px rgba($color: #000000, $alpha: .1);
  justify-content: space-between;
  align-items: center;

  .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    .icon {
      width: 40rpx;
      height: 40rpx;
    }

    .name {
      font-size: 24rpx;
      padding-top: 2rpx;
    }
    .sharebtn{
      width: 100%;
      height: 100%;
      position: absolute;
      opacity: 0;
    }
  }

  .btn {
    width: 200rpx;
    background-color: #fa5252;
    color: #fff;
    border-radius: 100px;
    height: 80rpx;
    display: flex;
    align-items: center;
    justify-content: center;

    &.active {
      background-color: #eee;
      color: #999;
      position: relative;

      &::after {
        content: '已报名'
        ;
        position: absolute;
        top: 0;
        right: 0;
        color: red;
        font-size: 24rpx;
        transform: translate(20%, -50%);
        // background-color: red;
        border: 1px solid red;
        padding: 2rpx 10rpx;
      }
    }

    &.btn1 {
      background-color: #ccc;
    }

    &.btn2 {
      background-color: #ccc;
    }
  }
}